<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Cường Phú - Administrator</title>

<link rel="stylesheet" type="text/css" href="<?php echo PUBLIC_URL?>/admin/css/login.css"></link>
<script type="text/javascript" src="<?php echo PUBLIC_URL?>/admin/js/jquery.js"></script>
<script type="text/javascript">
$(document).ready(function(){
	
	
	$("#btnSubmit").click(function (){
		var frm= document.getElementById("frmAdminLogon");
		var username = frm.username.value;
		var password = frm.password.value;
		var msg = "";
		if(username==""){
			msg+= "Xin hãy điền tên đăng nhập!\n";
		}
		if(password==""){
			msg+= "Xin hãy điền mật khẩu!";	
		}
		if(msg !=""){
			alert(msg);
			return false;
		}else{
			frm.submit();
		}
			
	});

		
});

</script>
</head>
<body>
	<div id="page">
		<div id="logon">
			<h2>Administrator Login</h2>
			<div id="error">
			<?php
				if($this->logonMessage){
					echo $this->logonMessage;
				}
			?>
			</div>
			<div id="logo">
				<a href="http://idgit.com.vn" title="Go to IDG-IT">
					<img src="<?php echo PUBLIC_URL."/admin/images/idglogo.jpg";?>" alt="IDG" width="100%"/>
				</a>
			</div>
			<?php echo $this->form;?>
		</div>
	</div>
</body>
</html>

